﻿<cx:BaseFadeDialog  x:Class="SSDM.SqlServer.SomeFunctions.EnumSqlServer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                                   xmlns:Translator="clr-namespace:SSDM.Bases"
                 xmlns:Localizer="clr-namespace:SSDM.Bases"
                        xmlns:cx="clr-namespace:SSDM.BaseUI"
    Title="{Localizer:Translate TitleSearchSqlServerInstance}" SizeToContent="WidthAndHeight">
    <Grid>
        <StackPanel>
            <StackPanel Orientation="Horizontal" Margin="10">
                <Label Content="{Localizer:Translate TitleRemoteAddressOrName}" Width="160"/>
                <TextBox x:Name="txtServer" Width="200"></TextBox>
                <Button Content="{Localizer:Translate ButtonDetect}" Width="100" x:Name="butSearch"></Button>
            </StackPanel>
            <StackPanel>
                <ProgressBar IsIndeterminate="True" Height="20" Margin="6 0 6 0" Visibility="Collapsed" x:Name="progressBar"/>
                <TextBlock Text="{Localizer:Translate TiTleOpenSqlServerInstanceWay}" Margin="6 0 6 0" />
                <StackPanel Orientation="Horizontal">
                    <ListBox x:Name="mySqlserverList" Margin="10"
                         Height="196" Width="500" ItemsSource="{Binding}"/>

                </StackPanel>
            </StackPanel>
        </StackPanel>
    </Grid>
</cx:BaseFadeDialog >
